package xs.szw.service.model.pojo.sys;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 岗位信息表
 * @TableName sys_post
 */
@Schema(description = "岗位信息表")
@TableName(value ="sys_post")
@Data
public class Post implements Serializable {
    /**
     * 岗位ID
     */
    @Schema(description = "岗位ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 岗位编码
     */
    @Schema(description = "岗位编码")
    @TableField(value = "post_code")
    private String postCode;

    /**
     * 岗位名称
     */
    @Schema(description = "岗位名称")
    @TableField(value = "name")
    private String name;

    /**
     * 描述
     */
    @Schema(description = "描述")
    @TableField(value = "description")
    private String description;

    /**
     * 状态（1正常 0停用）
     */
    @Schema(description = "状态（1正常 0停用）")
    @TableField(value = "status")
    private Integer status;

    /**
     * 
     */
    @Schema(description = "")
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @Schema(description = "")
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 删除标记（0:不可用 1:可用）
     */
    @Schema(description = "删除标记（0:不可用 1:可用）")
    @TableField(value = "is_deleted")
    @TableLogic
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}